<template>
	<view class="page">
		<uni-card :title="type" note="Tips" :extra="title" :thumbnail="icon">
			<text style="font-size: 16px; font-weight:800; color:black">{{name}}</text><br>
			<text>身份证号：{{idNumber}}</text><br>
			<text>电话：{{tel}}</text>
		</uni-card>
	</view>
</template>

<script>
	export default {
		name:"ulist",
		props:{
			name:String,
			title:String,
			idNumber:String,
			tel:String,
			type:String
		},
		data() {
			return {
			};
		},
		computed:{
			icon(){
				if(this.t==='成功'){
					return '/static/icons/green.png'
				}
				else if(this.t==='失败'){
					return '/static/icons/red.png'
				}
				else if(this.t==='待处理'){
					return '/static/icons/blue.png'
				}
				else{
					return '/static/icons/grey.png'
				}
			}
		}
	}
</script>

<style>

</style>